import React from 'react'

const Index = ({ v, onClick }) => {
  return (
    <div onClick={onClick}>
      <dl>
        <dt>
          <img src={v.image} alt="" />
        </dt>
        <dt>
          <h3>{v.title}</h3>
          <p className="price">
            {v.price}
          </p>
          <p>{v.city}</p>
        </dt>
      </dl>
    </div>
  )
}
export default Index